home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
color.arc
/
COLOR.DOC
< prev
next >
Wrap
Text File
|
1987-01-08
|
6KB
|
124 lines
COLOR.COM January 8, 1987
Purpose: Sets the default screen display color.
Format: [d:][path]COLOR [tc] [bc]
Type: Internal External
***
Remarks: Specify the parameters:
[d:][path] before COLOR to specify the drive and path
that contains the COLOR command file.
[tc] to specify the text color number.
[bc] to specify the border color number.
Notes: The color numbers are described in the IBM PC Technical
Reference Manual, and in the BASIC manual.
If no [bc] color number parameter is specified, the
border color will default to the same color as the text
background color.
If no [tc] color number is specified, an information
screen will be displayed with a complete color chart to
aid in selecting colors.
Color number 0 (black text on black background) for [tc]
is defined as invalid. This will cause the information
screen to be displayed. If you wish to black out the
display, you may legally use color number 8 which is
also black on black.
If an invalid number or alpha characters are entered for
the [tc] or [bc] parameters, an error message will be
displayed. This condition may be tested for in a batch
file as ERROR LEVEL = 1 for any failures.
Examples: COLOR 23 4 will set gray text on blue
background and red border
COLOR 14 will set yellow text on black
background and black border
COLOR will display the information
screen with a color number chart
Comments: The first time COLOR is run, a title box and information
on available memory is displayed. A small portion of the
program then installs itself and remains resident in
memory. Subsequent uses will not consume additional
memory, and will clear the screen when setting the
default display color.
When the information screen is displayed, color numbers
0 and 7 will be displayed in the currently active color.
As stated above, color number 0 is defined as an illegal
entry. Color number 7 will set the default screen color
to gray text on black background, even if it is
displayed as some other color.
The new default color setting will work with most
programs. Any text the program displays in "color" will
not be affected. Any text the program displays in gray
text on black background will be displayed in the new
color setting. If the program leaves the screen in a
new color when the program is exited, the DOS command
CLS (clear screen) will restore the new screen color.
Disclaimer: No warranties of any kind are offered or implied with
this program.
This program is written for the IBM PC with a Color
Graphics Card (CGA) and has not been tested on other
computers. It is written in assembly language, following
normal programming practices and therefore should work
on true compatables.
+-----------------------------------------------------------+
| COLOR.COM |
| |
| This program is offered as Shareware. You are free |
| to copy, use, and share it with others as long as it |
| is not altered and this documentation and notice |
| accompany it. |
| |
| If you find this program useful, please support the |
| Shareware distribution concept by contributing $5.00 |
| for the program. In appreciation, you will be sent |
| a disk with the latest version of the program. Also |
| included on the disk will be several additional |
| Crestwood Elite - Power Utilities that you will be |
| free to try as Shareware. |
| |
| If you find any problems (bugs) in using this program, |
| please report it. |
| |
+-----------------------------------------------------------+
| |
| Jeff Kallevig program name COLOR.COM |
| Crestwood Elite version number _______ |
| 9804 Dell Road |
| Eden Prairie, MN 55344 contribution $5.00 |
| |
+-----------------------------------------------------------+